export const widgetAlarmStatistic = {
  code: 'widget-alarm-statistic',
  type: 'other',
  tabName: '其他',
  label: '告警记录统计',
  options: {
    // 配置
    setup: {
      layerName: '告警记录统计',
      backgroundColor: 'rgba(6,25,82,.8)',
      timeActiveBgColor: '#2681FF',
      timeActiveFontColor: '#fff',
      timeBgColor: 'rgba(5, 35, 96, 0.8)',
      timeFontColor: '#fff',
      timeBorderColor: 'rgba(17, 20, 25, 0.8)',
      xLineColor: '#fff',
      xFontColor: '#fff',
      xFontSize: 14,
      xSplitLine: false,
      yLineColor: '#fff',
      yFontColor: '#fff',
      yFontSize: 12,
      ySplitLine: false,
      barColor: '#188DF0',
      barColor2: '#00C8DC'
    },
    data: {
      refreshTime: 60000,
      statisticData: [
        {
          groupField: 1,
          totalCount: 11
        },
        {
          groupField: 2,
          totalCount: 50
        },
        {
          groupField: 3,
          totalCount: 38
        }
      ]
    },
    position: {
      left: 0,
      top: 0,
      width: 600,
      height: 400
    }
  }
}
